$("#submission").click(function () {
    var reservationsId = $("#reservationsId").val();
    var operationTime = $("#operationTime").val();
    var orthodonticNumber = $("#orthodonticNumber").val();
    var proDealInfo = $(".proDealInfo");
    var str = [];
    for (var i = 0; i < proDealInfo.length; i++) {
        var obj = proDealInfo[i];
        var dealInfo = {};
        dealInfo.leftUp = $(obj).find(".leftUp").html();
        dealInfo.leftDown = $(obj).find(".leftDown").html();
        dealInfo.rightUp = $(obj).find(".rightUp").html();
        dealInfo.rightDown = $(obj).find(".rightDown").html();
        dealInfo.id2 = $(obj).attr('id');
        dealInfo.reservationsId = reservationsId;
        dealInfo.operationTime = operationTime;
        dealInfo.orthodonticNumber = orthodonticNumber;
        str.push(dealInfo);
    }
    $.ajax({
        url: Feng.ctxPath + "/consultant/updateOrthodonticNumber",
        type: "post",
        contentType: "application/json",
        data: JSON.stringify(str),
        success: function (data) {
            Feng.success('操作成功!');
            parent.layer.close(parent.layer.getFrameIndex(window.name))
        }
    });
});